package com.woniu.service.impl;

import com.woniu.dao.ServiceImgMapper;
import com.woniu.pojo.ServiceImg;
import com.woniu.service.ServiceImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ServiceimgServiceimpl implements ServiceImgService {

    @Autowired
   private ServiceImgMapper serviceImgMapper;

    @Override
    public List<ServiceImg> findServiceImgByServiceId(Integer ServiceId) {
        return serviceImgMapper.selectByServiceId(ServiceId);
    }
}
